//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.spring.schedule_system.dengxiaojiao.util;

public enum SuccessEnum {
    SUCCESS("1", "成功");

    private String msg;
    private String result;

    private SuccessEnum(String result, String msg) {
        this.result = result;
        this.msg = msg;
    }

    public String getResult() {
        return this.result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static boolean isSuccess(String result) {
        return "1".equals(result);
    }
}
